package mapper;


import pojo.Course;

import java.util.List;

public interface CourseMapper {

    public void add(String name);

    public void delete(int id);

    public void update(int id,String name);

    public Course getCourse(int id);

    public Course getCourse(String name);

    public List<Course> getCourses();
}
